package com.mf.entity.req;

import java.io.Serial;

import com.mf.groups.GroupsUpdateInterface;
import com.mf.groups.GroupsAddInterface;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Null;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalDate;

import lombok.Data;

/**
 * 提交
 */
@Data
public class ReqIncoming implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @NotNull(message = "id不能为空", groups = {GroupsUpdateInterface.class})
    @Null(message = "新增id必须为空", groups = {GroupsAddInterface.class})
    @Schema(description = "id")
    private Integer id;
    private String receiveCode;
    private String cusCode;
    private Integer customerId;
    private String carNum;
    private String driveInfo;
    private LocalDateTime arrivalTime;
    private LocalDate arrivalDate;
    private Double sumWeight;
    private Double netWeight;
    private Double grossWeight;
    private Integer packageCount;
    private Integer flagCusNotify;
    private Integer flagCusConfirm;
    private String cusConfirmUser;
    private LocalDateTime cusConfirmTime;
    private Integer status;
    private String remark;
    private String douser;
    private String customerName;
    private String customerFullName;
    private String customerFlagReceiveConfirm;
    private String flagAudit;
    private String auditCode;
    private Integer flagRetreatAudit;
    private String retreatAuditCode;
    private String retreatMark;
    private LocalDateTime retreatTime;
}
